{*
 * This file is part of the Agora distribution. 
 * Detailed copyright and licensing information can be found
 * in the gpl-3.0.txt file which should be included in the distribution.
 * 
 * @version		$Id: 3.0.14 Olympus 2010-09-28 rammstein4o $
 * @copyright  2007 - 2010 jVitals
 * @license   GPLv3 Open Source
 * @link       http://jvitals.com
 * @since      File available since initial release
 *}
<div class="ag_rightend">
	<h2 class="ag_headerbar"><span class="ag_middle">##Rate the topic##</span></h2>
</div>

<div class="ag_outerwrap">
	<form name="rate" id="rate" method="post" action="{$self_url}">
		<fieldset class="ag_inform">
			<legend class="ag_color">##Rating##</legend>
			<div class="ag_infldset">
				{section name=stars loop=5}
				{assign var=star_num value=$smarty.section.stars.index}
				<label class="rate">
					<input type="radio" name="ratings" value="{$star_num*2}" tabindex="{$star_num*2}" />&nbsp;<img src="{$star_path}Star_{$star_num}.png" alt="{$star_num} Stars" align="middle" />
				</label>
				<div class="ag_clearer"></div>

				<label class="rate">
					<input type="radio" name="ratings" value="{$star_num*2+1}" tabindex="{$star_num*2+1}" />&nbsp;<img src="{$star_path}Star_{$star_num}_Half.png" alt="{$star_num} Stars" align="middle" />
				</label>
				<div class="ag_clearer"></div>
				{/section}
				<label class="rate">
					<input type="radio" name="ratings" value="10" tabindex="10" />&nbsp;<img src="{$star_path}Star_5.png" alt="5 Stars" align="middle" />
				</label>
				<div class="ag_clearer"></div>
			</div>
		</fieldset>
		<div class="ag_postbuttons">
			<span>
				<input class="ag_button ag_btn_submit" type="submit" name="rate_submit" value="##Submit rating##" title="##Submit rating##" accesskey="s" tabindex="11" />
				&nbsp;##or##&nbsp;
				<a href="javascript:void(0);" class="ag_btn_goback" title="##Go back##" onclick="javascript:history.go(-1)" tabindex="12">##Go back##</a>
			</span>
		</div>
	</form>
</div>